﻿@model BlogKickStart.Models.User

@{
    ViewBag.Title = "DeleteUser";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>DeleteUser</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>User</legend>

	<table>
		<tr>
			<td>
				<div class="display-label">First Name: </div>
			</td>
			<td>
				<div class="display-field">
					@Html.DisplayFor(model => model.FirstNM)
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="display-label">Last Name: </div>
			</td>
			<td>
				<div class="display-field">
					@Html.DisplayFor(model => model.LastNM)
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="display-label">Birthday: </div>
			</td>
			<td>
				<div class="display-field">
					@Html.DisplayFor(model => model.Birthday)
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="display-label">Join Date: </div>
			</td>
			<td>
				<div class="display-field">
					@Html.DisplayFor(model => model.CreateDate)
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="display-label">Blog ID: </div>
			</td>
			<td>
				<div class="display-field">
					@Html.DisplayFor(model => model.BlogID)
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="display-label">Password: </div>
			</td>
			<td>
				<div class="display-field">
					@Html.DisplayFor(model => model.Pass)
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="display-label">Screen Name: </div>
			</td>
			<td>
				<div class="display-field">
					@Html.DisplayFor(model => model.UserName)
				</div>
			</td>
		</tr>
	</table>
</fieldset>
@using (Html.BeginForm("DeleteUserPost", "User")) {
    <p>
        @Html.HiddenFor(n => n.UserID)
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
